import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import { Avatar, Reading, MagicStick, Pointer, ChatRound, Plus } from '@element-plus/icons'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
import store from './store'
import http from './http'
import '@/assets/common.scss'

const app = createApp(App)
app.config.globalProperties.$http = http
app.use(store)
app.use(router)
app.use(ElementPlus)
app.component('avatar', Avatar)
app.component('reading', Reading)
app.component('magic-stick', MagicStick)
app.component('pointer', Pointer)
app.component('chat-round', ChatRound)
app.component('plus', Plus)
app.mount('#app')
